import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./registerServiceWorker";

import mavonEditor from 'mavon-editor';
import 'mavon-editor/dist/css/index.css';
Vue.use(mavonEditor);
Vue.component("mavon-editor", mavonEditor);

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
Vue.use(ViewUI);

import axios from 'axios'
Vue.prototype.$http = axios;

import qs from 'qs'
Vue.prototype.$qs = qs


Vue.config.productionTip = false;


import global_ from './components/global' //引用文件
Vue.prototype.GLOBAL = global_ //挂载到Vue实例上面


new Vue({
    router,
    store,
    render: h => h(App)
}).$mount("#app");